﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"]</title>

    <environment include="Development">
        <link href="~/lib/layui/ext/laymd/preview.css" rel="stylesheet" />
        <link href="~/lib/layui/css/layui.css" rel="stylesheet" />
        <link rel="stylesheet" href="~/css/site.css" />
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
        <script src="https://cdn.bootcss.com/highlight.js/9.13.1/highlight.min.js"></script>

        <script src="~/lib/layui/layui.js"></script>
        <script src="~/lib/layui/lay/modules/layer.js"></script>
        <script src="~/js/common.js"></script>
    </environment>
    <environment exclude="Development">
        <link href="~/lib/layui/ext/laymd/preview.css" rel="stylesheet" />
        <link href="~/lib/layui/css/layui.css" rel="stylesheet" />
        <link rel="stylesheet" href="~/css/site.css" />
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
        <script src="https://cdn.bootcss.com/highlight.js/9.13.1/highlight.min.js"></script>

        <script src="~/lib/layui/layui.js"></script>
        <script src="~/lib/layui/lay/modules/layer.js"></script>
        <script src="~/js/common.js"></script>

    </environment>
</head>
<body class="site-home" id="LAY_home" style="background-color: #fff;" data-date="12-27">
    @Html.Action("Header", "Home")
    <div class="container body-content">
        @RenderBody()
        <div class="layui-footer footer footer-index">
			<div class="layui-main">
				<p>© @DateTime.Now.Year <a href="/">FreeSql.NET</a> MIT license</p>
				<p>
					<a href="#" target="_blank">案例</a>
					<a href="#" target="_blank">支持</a>
					<a href="http://github.com/2881099/FreeSql" target="_blank" rel="nofollow">GitHub</a>
					<a href="http://github.com/2881099/FreeSql" target="_blank" rel="nofollow">码云</a>
				</p>
			</div>
        </div>
        @*<partial name="_CookieConsentPartial" />*@
    </div>

    <environment include="Development">
        <script src="~/js/site.min.js" asp-append-version="true"></script>
    </environment>
    <environment exclude="Development">
        <script src="~/js/site.min.js" asp-append-version="true"></script>
    </environment>

    <script>
        layui.config({
            base: '/lib/layui/lay/modules/'
            , version: '31111'
        }).use('global');

        window.global = {
            preview: function () {
                var preview = document.getElementById('LAY_home');
                return preview ? preview.innerHTML : '';
            }()
        };
    </script>

    @RenderSection("Scripts", required: false)
</body>
</html>
